<template>
	<view class="content">
		
		<view class="main">
			<navigator class="user_list "   url="../money/money">
				<view class="xhx qcfd">
					<view class="fl" >
						收费标准
					</view>
					<view class="jiant fr">
						<image src="/static/pages/jian.png" mode=""></image>
					</view>
				</view>
				
			</navigator>
			<navigator class="user_list " url="../falvtk/falvtk">
				<view class="xhx qcfd">
				<view class="fl" >
					超级货运法律条款
				</view>
				<view class="jiant fr">
					<image src="/static/pages/jian.png" mode=""></image>
				</view>
				</view>
			</navigator>
			<navigator class="user_list qcfd"   url="../aboutUs/aboutUs">
					<view class="xhx qcfd"  style="border: none;">
				<view class="fl" >
					关于超级货运
				</view>
				<view class="jiant fr">
					<image src="/static/pages/jian.png" mode=""></image>
				</view>
				</view>
			</navigator>
		</view>
		
		<view class="logout">
			<button type="default" @click="loginOut">退出登录</button>
		</view>
	 </view>
</template>

<script>
	import requestUrl from '../../js_sdk/request/requestUrl.js'
	import {
			mapMutations
		} from 'vuex';
	export default {
		data() {
			return {
				id:0, // 使用 marker点击事件 需要填写id
				        
				            
			}
		},
		methods: {
			
			
			...mapMutations(['login', 'logout']),
			async loginOut(){
				const res = await this.$request.post(requestUrl.LOGIN_OUT_URL, {
					data: {}
				}); //调取API接口
				 this.logout()
								uni.setStorageSync("needLogin", true);
								uni.reLaunch({
									url: '../index/index'
								});
			}
			
		}
	}
</script>

<style>
	.content{
		padding: 24rpx;
	}


.main{
	border-radius: 16rpx;
	background-color: #FFFFFF;
}
.user_list{
	padding:0 34rpx;
	
	
}

.jiant image{
	width: 16rpx;
	height: 28rpx;
}
.user_list .fl{
	font-size: 28rpx;
	font-weight: 400;
	color: #181818;
	margin-right: 16rpx;
}

button::after { border: none }

.logout{
	margin-top: 24rpx;
}

.logout button{
	background-color: #FFFFFF !important;
	border-radius: 16rpx;
	font-size: 28rpx;
	padding: 10rpx 0 !important;
}
.xhx{
	border-bottom: 2rpx solid #E9E9E9;
	padding: 24rpx 0;
}


</style>
